package com.ruoyi.order.mapper;

import java.util.List;

//import com.ruoyi.order.Vo.IMidOrdersVo;
import com.ruoyi.order.domain.MidOrders;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
@Mapper
public interface MidOrdersMapper 
{
    /**
     * 查询订单
     * 
     * @param id 订单主键
     * @return 订单
     */
    public MidOrders selectMidOrdersById(Long id);

    /**
     * 查询订单列表
     * 
     * @param midOrders 订单
     * @return 订单集合
     */
    public List<MidOrders> selectMidOrdersList(MidOrders midOrders);

    /**
     * 新增订单
     * 
     * @param midOrders 订单
     * @return 结果
     */
    public int insertMidOrders(MidOrders midOrders);

    /**
     * 修改订单
     * 
     * @param midOrders 订单
     * @return 结果
     */
    public int updateMidOrders(MidOrders midOrders);

    /**
     * 删除订单
     * 
     * @param id 订单主键
     * @return 结果
     */
    public int deleteMidOrdersById(Long id);

    /**
     * 批量删除订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMidOrdersByIds(Long[] ids);

//    public List<IMidOrdersVo> selectall(IMidOrdersVo iMidOrdersVo);
}
